package com.guigui.gulimall.product.dao;

import com.guigui.gulimall.product.entity.SpuInfoEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * spu信息
 * 
 * @author xin
 * @email 806748502@qq.com
 * @date 2021-07-23 14:10:32
 */
@Mapper
public interface SpuInfoDao extends BaseMapper<SpuInfoEntity> {

    /**
     * 上架商品
     */
    void productUp(@Param("spuId") Long spuId, @Param("code") int code);
}
